﻿// 项目：	Guan.CMS.Model - Guan.CMS
// 文件名：	Acticle.cs
// 
// 修改时间：2013-03-09 22:54
// 修改人：	Cooclsee

using System;
using System.ComponentModel.DataAnnotations;

namespace Guan.CMS.Model.Entities
{
    public class Article : CommonPublishedModel
    {
        [Key]
        public int Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public string Tags { get; set; }
        public string Author { get; set; }
        public int Hits { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public DateTime CreatedTime { get; set; }
        public DateTime UpdatedTime { get; set; }
        public int? CategoryId { get; set; }
        public string MetaKeywords { get; set; }
        public string MetaDescription { get; set; }
        public string MetaTitle { get; set; }
        public string FriendlyName { get; set; }

        #region FK

        public virtual ArticleCategory Category { get; set; }
        public virtual SNSShareInfo SNS { get; set; }

        #endregion FK
    }
}